<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		var num1 = 60;
		var num2 = 30;
	
	// 条件	?  真  : 假 ;


		var num3 = num1>num2 ? num1 : num2 ;

		alert(num3);

	</script>
</head>
<body>
	
</body>
</html>